package com.zhaokuner.parentstarter.ctrladaptor.model;

import com.zhaokuner.parentstarter.common.ResultData;
import lombok.Data;

/**
 * <p>
 * Description:增加代理
 * <p>
 * Copyright: 天津联想协同科技有限公司
 * <p>
 *
 * @author 赵希坤 zhaoxikun
 * @date 2021/2/11 10:08
 */
@Data
public class ResultDataCtrlAdaptor extends ResultData<Object> {
    /**
     * 用于兼容代理
     */
    private CtrlAdaptorReqEntry ctrlAdaptorReqEntry;

    public ResultDataCtrlAdaptor(CtrlAdaptorReqEntry ctrlAdaptorReqEntry) {
        super();
        this.ctrlAdaptorReqEntry = ctrlAdaptorReqEntry;
    }

    public static ResultDataCtrlAdaptor newInstance(CtrlAdaptorReqEntry ctrlAdaptorReqEntry) {
        return new ResultDataCtrlAdaptor(ctrlAdaptorReqEntry);
    }

}
